//
//  SNNetworkTools.h
//  SinaVboc
//
//  Created by V on 29/11/2016.
//  Copyright © 2016 仁忄. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>

typedef enum : NSUInteger {
    GET,
    POST,
} HTTPMethod;

@interface SNNetworkTools : AFHTTPSessionManager

+ (instancetype)sharedTools;

- (void)request:(HTTPMethod)method urlString:(NSString *)urlString parameters:(NSDictionary *)parameters finished:(void(^)(id responseObject, NSError *error))finished;

@end
